package com.android.duininsuoai.model.auction;

import com.android.duininsuoai.utils.MyLog;
import com.google.gson.Gson;
import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Response;

/**
 * Created by Administrator on 2017/9/14.
 */

public abstract class AuctionRecentlyOrderCallback extends Callback<AuctionRecentlyOrder> {

@Override
public AuctionRecentlyOrder parseNetworkResponse(Response response, int id) throws Exception {
        String string = response.body().string();
         MyLog.e("AuctionRecentlyOrder",string);
    AuctionRecentlyOrder data = new Gson().fromJson(string, AuctionRecentlyOrder.class);
        return data;
        }
        }

